package com.leigang.job.task;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @author leigang
 * @date
 */
@Component
public class TestJobHandler {
    /**
     * 1、简单任务示例（Bean模式）
     */
    @XxlJob("demoJobHandler")
    public String demoJobHandler(String param) {
        System.out.println("我来过！！");
       return "demoJobHandler成功";
    }

}
